<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<div>
		<center>
			<form action="search.action" method="post">
				<div>
					关键字：<input name="keyword" type="text" value="${keyword}"/>
					<input name="submit" type="submit" value="查询"/>
					<label>耗时：${useTime} ms</label>
				</div>
			</form>
		</center>
		<div id="resultDiv">
			<table width=100% border="1" align=center  cellspacing=0　cellpadding=2 bordercolor="#d1d1d1" style="border-collapse:collapse;">
				<thead>
					<tr>
						<th>序号</th>
						<th>关键字</th>
						<th>URL</th>
					</tr>
				</thead>
				<tbody>
				<s:iterator value="#request.list" id="list" status="st">
					<tr align=center>
						<td><s:property value="id" /></td>
						<td><s:property value="keyword" /></td>
						<td><s:property value="url" /></td>
					</tr>
				</s:iterator>
				</tbody>
			</table>
		</div>
		<s:include value="/WEB-INF/page/page.jsp"></s:include>
	</div>
</body>
</html>